QT += quick KWindowSystem x11extras multimedia dbus

TARGET = ukui-new-function-introduction
CONFIG += c++11 link_pkgconfig

DEFINES += QT_DEPRECATED_WARNINGS

PKGCONFIG += gio-2.0 glib-2.0
LIBS +=  -lX11 -lgio-2.0 -lglib-2.0

HEADERS += \
    src/processmanager.h \
    src/xatom-helper.h \
    xatom-helper.h

RESOURCES += \
    src/qml.qrc

SOURCES += \
    src/main.cpp \
    src/processmanager.cpp \
    src/xatom-helper.cpp

desktopfile.files = src/data/ukui-new-function-introduction.desktop
desktopfile.path = /etc/xdg/autostart/

INSTALLS += desktopfile

# Default rules for deployment.
target.path = /usr/bin/
!isEmpty(target.path): INSTALLS += target
